package com.my.fss.service.impl;

import com.my.fss.common.mapper.BaseMapper;
import com.my.fss.common.service.Impl.BaseServiceImpl;
import com.my.fss.entity.FssAppFile;
import com.my.fss.mapper.FssAppFileMapper;
import com.my.fss.service.FssAppFileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author jiaxd 2020/04/30
 */

@Service
public class FssAppFileServiceImpl extends BaseServiceImpl<FssAppFile> implements FssAppFileService {
    @Autowired
    private FssAppFileMapper fssAppFileMapper;
    @Resource(name = "fssAppFileMapper")
    public void setBaseMapper(BaseMapper<FssAppFile> fssAppFileMapper)  {
        super.setBaseMapper(fssAppFileMapper);
    }

    @Override
    public String queryByName(String fileName) {
        return fssAppFileMapper.queryByName(fileName);
    }
}
